WPGMZA\RestAPI D

Total Complexity 203
Dependencies 14
Dependents 1
Total lines 1,136
Lines of code 772
Logical lines of code 491
Comment lines 65
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
markers()
D
25
38 162
features()
D
28
35 124
onAJAXRequest()
B
37 22 76
registerRoute()
B
39 18 60
datatables()
A
47 13 32
queryNominatim()
A
55 8 19
parseCompressedParameters()
S
48 7 30
getRequestParameters()
S
52 6 25
getFilteringParameters()
S
56 6 18
maps()
S
52 5 25
onWPRestCacheAllowedEndpoints()
S
59 4 15
cleanRequestOutput()
S
63 5 10
registerRoutes()
S
44 1 56
geocodeCache()
S
62 4 11
sanitizeFieldNames()
S
62 3 11
isDoingAjax()
S
71 3 5
onRestAPIInit()
S
64 3 9
checkForDeleteSimulation()
S
69 3 6
checkRequestContext()
S
64 3 10
onParseRequest()
S
76 2 4
sendAJAXResponse()
S
70 2 6
onWPRestCacheDetermineObjectType()
S
70 2 6
__construct()
S
60 1 13
isCompressedPathVariableSupported()
S
80 1 3
isRequestURIUsingCompressedPathVariable()
S
78 1 3
addRestNonce()
S
78 1 3
getNonceTable()
S
82 1 3
checkActionNonce()
S
69 1 6
getFeatureTables()
S
64 1 10
onInit()
S
82 1 3
decompress()
S
77 1 4
onReportRestAPIBlocked()
S
75 1 4